package com.chixing.day05.oop;

public class TestProduct {
    public static void main(String[] args) {
        // 创建对象(实例化对象)instance
        Product pro1=new Product();
        pro1.setProName("手机");
        pro1.setProPrice(2999);
        pro1.setProColor("红色");

        Product pro2= new Product();
        pro2.setProName("鼠标");
        pro2.setProPrice(29.9f);
        pro2.setProColor("白色");

        Product pro3=new Product("手机",3.3f,"蓝色");

    }

}
